package com.woniuxy.commons.exception;

import com.woniuxy.commons.exception.code.FoodExceptionCode;

public class FoodException extends WoniuxyException {

    public FoodException(Integer code, String message) {
        super(code, message);
    }
    public FoodException(FoodExceptionCode foodExceptionCode) {
        super(foodExceptionCode.getCode(), foodExceptionCode.getMessage());
    }
}
